﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DLL.DepartmentLink
{
	/// <summary>
	/// 实体类
	/// </summary>
	/// <![CDATA[2014-9-9 11:50:17]]>
	public class Entity : EntityBase
	{
		#region 属性
		public int nDepartmentID = 0;
		public string strLink = "";
		public int nParentID = 0;
		public int nOrder = 0;

		public string strDepartmentName = "";
		public string strParentName = "";
		#endregion 属性

		#region Get、Set属性
		/// <summary>
		/// 单位链接顺序
		/// </summary>
		public int Order
		{
			get { return nOrder; }
			set { nOrder = value; }
		}
		public int DepartmentID
		{
			get { return nDepartmentID; }
			set { nDepartmentID = value; }
		}
		public string Link
		{
			get { return strLink; }
			set { strLink = value.Trim(); }
		}
		public int ParentID
		{
			get { return nParentID; }
			set { nParentID = value; }
		}
		public string DepartmentName
		{
			get { return strDepartmentName; }
			set { strDepartmentName = value.Trim(); }
		}
		public string ParentName
		{
			get { return strParentName; }
			set { strParentName = value.Trim(); }
		}
		#endregion Get、Set属性

		#region 构造函数
		/// <summary>
		/// 实体类构造函数
		/// </summary>
		/// <![CDATA[2014-9-9 11:50:17]]>
		public Entity()
			: base()
		{
		}
		#endregion 构造函数
	}
}
